<%@page contentType="text/xml; charset=UTF-8"%>
<%@page pageEncoding="UTF-8"%>
<%@page import="orest.front.achieve.GetOptionAction"%>
<%@page import="orest.common.util.CachedObject"%>
<%@page import="orest.common.util.CacheManager"%>

<%  String str = "";
    //request.setCharacterEncoding ("gbk");
    String tablename = request.getParameter("tablename");  
    String optionname = request.getParameter("optionname");  
    String optionval = request.getParameter("optionval");  
    String type = request.getParameter("type"); 
    
    
    GetOptionAction obj = new GetOptionAction();
    if(type!=null&&type.equals("check")){
    	str = obj.getFieldOptionListBytnfn_ckeck(tablename,optionname,optionval); 
    }else{
    	str = obj.getFieldOptionListBytnfn(tablename,optionname,optionval); 
    }
    
    out.clear();
    //out.println ("<?xml version='1.0' encoding='gbk' ?><root>"+"<optionname>"+optionname+"</optionname>"+"<optionval>"+optionval+"</optionval>"+str+"</root>");
	out.println (str);
%>


 
